package cn.fanqinghong.org.service;

import cn.fanqinghong.basic.service.IBaseService;
import cn.fanqinghong.org.domain.Employee;

import java.util.List;

/**
 * FAN
 * 2022/6/1  11:27
 */
public interface IEmployeeService extends IBaseService<Employee> {
    /**
     * 通过当前登陆人查询到
     * @param id
     */
    Employee loadByLogininfoId(Long id);

    /**
     * 通过店铺id查询员工数据
     * @param shopId
     * @return
     */
    List<Employee> queryByShopEmplyess(Long shopId);
}
